<div class="page-header">
  <h1>New Widget</h1>
</div>

<%= formFor(widget, {action: adminWidgetsPath(), method: "POST"}) { %>
  <%= partial("admin/widgets/form.html") %>
  <%= linkTo(adminWidgetsPath(), {class: "btn btn-warning", "data-confirm": "Are you sure?", body: "Cancel"}) %>
<% } %>
